Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Shader Characteristics


Q3Shader_SetVBoundary

You can use the Q3Shader_SetVBoundary function to set the current boundary-handling mode for v values that are outside the range 0 to 1.

TQ3Status Q3Shader_SetVBoundary (
TQ3ShaderObject shader, 
TQ3ShaderUVBoundary vBoundary);
shader
A shader.
vBoundary
A value that indicates the desired method of handling v values that are outside the range 0 to 1. See "Boundary-Handling Methods" on page 14-16 for a description of the values that you can pass in this parameter.
DESCRIPTION
The Q3Shader_SetVBoundary function sets the boundary-handling method for v values to be used by the shader specified by the shader parameter to the method specified by the vBoundary parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996